<?php
/**
 * Delete Question - Popup
 * 
 * @author	Xavier VILAIN
 * @package Nawa\Survey\Question
 * @license #license-nawa-survey#
 * 
 */
use Nawa\Survey\Question;
use Fox\Popup\ToConfirm\Deletion;
use Fox\Generator;
use Nawa\Messages;
use Fox\Popup;
$popup = new Deletion('pDelete',
			Question::className(),			
			Msg(Messages::BUNDLE,Messages::SURVEY_QUESTION_DELETION_TITLE),
			array(Messages::BUNDLE,Messages::SURVEY_QUESTION_DELETION_MESSAGE),
			array(Messages::BUNDLE,Messages::SURVEY_QUESTION_HAS_BEEN_DELETED)
			,Generator::ajaxReload('MC_sections')
			);
echo $popup->render();